<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@include file="/pages/dynamic.jsp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta http-equiv="msthemecompatible" content="no">
		<title>安全生产管理系统</title>
     	<script type="text/javascript"> 
    	    var __userid='<security:authentication property="principal.userId"/>';
 	    	function clickk(){
 	    	 	  new ResetPasswordForm(__userid);
 	    	}
     	</script>
	    <script type="text/javascript">
	       var __companyName="西安智翔软件科技控股有限公司";
	       var userInfo=<%=appUserService.getCurUserInfo()%>;
		   Ext.onReady(function(){
			   	  var storeTheme=getCookie('theme');
			   	  if(storeTheme==null || storeTheme==''){
				   	  storeTheme='xtheme-default2';
			   	  }
			      Ext.util.CSS.swapStyleSheet("theme", __ctxPath+"/resources/ext3/resources/css/"+storeTheme+".css");  
		    });
		    var __userid='<security:authentication property="principal.userId"/>';
		    var __userfullname='<security:authentication property="principal.staff.name"/>';
		    //console.info('<security:authentication property="principal.topModules"/>');
	    </script>
	    
	    <!-- 登录信息,工具JS -->
		<script type="text/javascript" src="<%=basePath%>/resources/js/App.js"></script>	
		
	     <!-- 个人首页JS -->
	    <script type="text/javascript" src="<%=basePath%>/resources/js/IndexPage.js"></script>
        
        <!-- png格式图片在ie6下透明,支持background-position和background-repeat -->
        <!--[if IE]>
        <script type="text/javascript" src="<%=basePath%>/resources/js/third/DD_belatedPNG/DD_belatedPNG_0.0.8a.js"></script>
        <script>
                DD_belatedPNG.fix('#topLeft,img');
        </script>
        <![endif]-->
	    
		
	</head>
<!-- 	<body oncontextmenu="return false" onbeforeunload="return false;" > -->
	<body oncontextmenu="return false" >
		<div id="loading">
             <div class="loading-indicator">
                  <img src="<%=basePath%>/resources/images/loading.gif" alt="" width="153" height="16" style="margin-right:8px;" align="absmiddle"/>
                  <div class="clear"></div>
         		    正在加载，请稍候......
             </div>
        </div>
        <div id="loading-mask"></div>
		<div id="app-header">
			<div id="header-left"  style="float:left;width:324px;height:75px;">
<%-- 				<img id ="CompanyLogo" src="<%=basePath+AppUtil.getCompanyLogoGif()%>" height="75" style="max-width:324px;"/> --%>
                    <table width="100%" height=60 border="0" cellpadding="0" cellspacing="0" background="${ctxPath}/resources/images/system/topc.jpg">    
                        <tr>    
                            <td>    
                                <img src="${ctxPath}/resources/images/ptms-logo.png" style="width:324px;height:75px;"/>    
                               <object style="position: absolute;top:0px;left:0px;pointer-events: none;" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="300" height="60">    
                                    <param name="movie" value="${ctxPath}/resources/video/topLeftFlash.swf">    
                                    <param name="quality" value="high"><param name="wmode" value="transparent">    
                                    <embed src="${ctxPath}/resources/video/topLeftFlash.swf" width="300" height="60" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>    
                                </object>    
                            </td>    
                             <td style="vertical-align:bottom"><div id="header-nav" style="text-align: center;"></div></td>    
                             <td align="right" valign="bottom">    
                             <div style="margin-right: 15px;">    
                                 <object style="position: absolute;top:0px;right:0px;pointer-events: none;" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="200" height="60">    
                                     <param name="movie" value="${ctxPath}/resources/video/topRightFlash.swf">    
                                     <param name="quality" value="high"><param name="wmode" value="transparent">    
                                     <embed src="${ctxPath}/resources/video/topRightFlash.swf" width="200" height="60" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>    
                                 </object>    
                             </div>    
                             </td>    
                        </tr>    
                    </table>
			</div>
			<div id="header-main">
				<div id="header-info" style="text-align: right;">
					&nbsp;
					欢迎您：<span id="fullname"><security:authentication property="principal.staff.name"/> </span><font color="#eeccff">[<a href="#" onclick="clickk()" style="color:#FFFFFF">修改密码</a>][<a href="#" onclick = "App.Logout()" style="color:##FFFFFF">注销</a>]</font>	
				</div>
				<div id="header-nav"></div>
			</div>
			</div>
		</div>
		
	</body>
</html>